<!--#include file="../../#include/sys#initialize.asp"-->
<%
Response.Buffer = True 
Response.Expires = -1
Response.ExpiresAbsolute = Now() - 1 
Response.Expires = 0 
Response.CacheControl = "no-cache" 

If not isNone(Session(gbl_sSSN_adnLoginStatus)) Then Response.Redirect(gbl_sPath_SiteRoot & "admin/admin.asp") End If
Call loadLanguage("login")
%>
<!DOCTYPE html PUBLIC "-//W3C//DTD XHTML 1.0 Strict//EN" "http://www.w3.org/TR/xhtml1/DTD/xhtml1-strict.dtd"> 
<html xmlns="http://www.w3.org/1999/xhtml" xml:lang="en" lang="en">
<head>
<title><%=gbl_sName_Site & "-- iCMS " & gbl_sVer_iCMS%></title>
<meta http-equiv="Content-Type" content="text/html; charset=<%=gbl_sCharset%>" />
<link rel="stylesheet" type="text/css" href="../../Styles/main.css" />
<script type="text/javascript" src="../../library/function/SHA2.js"></script>
<script type="text/javascript">
<!--
function Encrypt(a_sID) {
    var oObj = null;
    var sID = a_sID;

    if (sID) {
        oObj = document.getElementById(sID);
    }

    if (oObj) {
        oObj.value = SHA2(oObj.value);
    }

    return true
}
window.load=function() {
    var oObj=document.getElementById("txtName");

    if(oObj) {
        oObj.focus();
    }
}
//-->
</script>
</head>
<body>
<div id="frame">
	<div id="header"> 
		<ul class="nav">
			<li><a href="/">Home</a></li>
			<li><a href="#">About</a></li>
			<li><a href="#">FAQ</a></li>
		</ul>				
    </div>
	<hr class="hide" />
	<div id="feature">		
	<form method="post" action="chkLogin.asp" onSubmit="Encrypt('txtPass');">
	<div id="content"><img src="../../images/manager/conten.jpg" /></div>
	<div class="content">			
        <p><label for="txtName"><%=LABEL_UserName%></label> <input name="txtName" id="txtName" size="15" value=""  /></p>
        <p><label for="txtPass"><%=LABEL_UserPass%></label><input name="txtPass" type="password" id="txtPass" size="15" /></p>
        <p><label for="txtValidCode"><%=LABEL_VERIFYCODE%></label><input name="txtValidCode" type="text" size="4" maxlength="5" /></p>
	    <p><img src="verifycode.asp" /></p>
	    <p><input type="hidden" name="txtPgFrom" value="<%=Request.ServerVariables("HTTP_REFERER")%>" />
           <input type="submit" value="<%=LABEL_Login%>" name="btnAction" /></p>
	</div>
	</form>	
	<hr class="hide" />
	<div id="footer">
		<ul class="nav">
			<li><a href="/">Home</a></li>
			<li><a href="#">About</a></li>
			<li><a href="#">FAQ</a></li>
		</ul>
		<p>&copy;2007 xxx.com. All Rights Reserved.</p>		
	</div>
</div>
</body>
</html>